.slideout-is--autosize {
  > .slideout-panel {
    max-width: 100%;
    max-height: 100%;
    box-sizing: border-box;
    overflow: hidden;

    > .slideout-content {
      max-width: 100%;
      max-height: 100%;
      width: auto;
      height: auto;
      overflow: auto;
    }
  }
}
